package com.niit.service;

import com.niit.pojo.Dept;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @program: springcloud
 * @description:
 * @author: XZQ
 * @create: 2019-12-02 11:11
 **/
public interface DeptService {

    boolean addDept(Dept dept);

    Dept queryById(Long id);

    List<Dept> queryAll();

    void deleteById(Long id);

}
